{#<body>#}
{#    <form action="/lose_password/" method="post">#}
{#        {% csrf_token %}#}
{#    <div><span>手机号:</span>#}
{#        <input type="text" name="tel" placeholder="请输入您手机号" value="{{ tel }}" \><br>{{ tel_error  }}#}
{#    </div>#}
{#    <div><span>新密码:</span>#}
{#        <input type="password" name="password" value="{{ password }}" \>#}
{#    </div>#}
{#    <div><span>确认密码:</span>#}
{#        <input type="password" name="password_ag" value="{{ password_ag }}" \><br>{{ error }}#}
{#    </div>#}
{#    <div>#}
{#        <input type="text" name="code" placeholder="请输入验证码" value="{{ code }}" \>#}
{#        <button name="submit" class="btn btn-info" value="get_code" >获取验证码</button><br>{{ code_error }}#}
{#    </div>#}
{#        <button name="submit" class="btn btn-info" value="confirm">确认</button>#}
{#</form>#}
{#<div> {{ mes_error }} </div>#}
{#</body>#}
{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="{% static 'css/lose_password.css'%}" rel="stylesheet">
    <title>forget_code</title>
    <style>
        body {
    background: var(--white) url("{% static 'img/cug.JPG' %}") no-repeat center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
body .container {
    background: var(--lightblue) url("{% static 'img/cug.JPG' %}") no-repeat center fixed;
    background-size: cover;
    border-radius: var(--button-radius);
    box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0.25), 0 0.7rem 0.7rem rgba(0, 0, 0.22);
    height: var(--max-height);
    max-width: var(--max-width);
    overflow: hidden;
    width: 100%;
    position: relative;
    background:rgba(0,0,0,0.5); filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7F000000,endcolorstr=#7F000000);}
    </style>
</head>
<body>
<main class="container">
        <div class="container_form container_signup">
            <form action="/lose_password/" class="form" id="form1" method="post">
                {% csrf_token %}
                <h2 class="form_title">忘记密码{{ error }}</h2>
                <input autocomplete="off" type="tel" placeholder="输入绑定的手机号" class="input" name="tel" value="{{ tel }}"/>
                <input autocomplete="off" type="text" placeholder="输入新的密码" class="input" name="password" value="{{ password }}"/>
                <input autocomplete="off" type="text" placeholder="确认密码" class="input" name="password_ag" value="{{ password_ag }}"/>
<!--                <input autocomplete="off" type="email" placeholder="输入绑定的邮箱" class="input" id="sign_email"/>-->
                <input autocomplete="off" type="text" placeholder="验证码" class="input" id="Verification_code" name="code" value="{{ code }}"/>
                <button class="button" name="submit" value="get_code">点此获取验证码</button>
                <button class="btn"  id="signIn" name="submit" value="confirm">提交信息</button>
                <a class="button_x" href="{% url 'login' %}" >返回</a>
            </form>
        </div>
</main>
</body>
</html>